#ifndef __WIFI_STA_H__
#define __WIFI_STA_H__

#include <stdbool.h>

typedef enum {
    WIFI_STATE_INIT = 0,
    WIFI_STATE_CONNECTED = 1,
    WIFI_STATE_DISCONNECTED = 2
} WIFI_STATUS;

int ConnectToAP(const char *ssid, const char *psw);
void DisconnectWifi();
int ConnectBestWifi(const char *ssid, const char *password);
WIFI_STATUS GetWifiStatus();
bool IsWifiConnect();


#endif